const express = require("express");
const router = express.Router();

//导入用户路由处理函数对应的模块
const userhandler = require("../router_handler/userhandler");
//注册
router.post("/regist", userhandler.registUser);
//登录
router.post("/login", userhandler.login);


// 图片上传
router.post("/image", userhandler.uploadImg);
  
module.exports = router;
